]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray: Make Tweener shut up about normal properties
authorJasper St. Pierre <jstpierre@mecheye.net>
Sat, 21 Feb 2015 02:11:58 +0000 (18:11 -0800)
committerJasper St. Pierre <jstpierre@mecheye.net>
Sat, 21 Feb 2015 02:12:26 +0000 (18:12 -0800)
Tweener needs an initial value to tween from, otherwise it won't
work, so give it something it can use.

js/ui/messageTray.js

index 9e9f7af4c8b06747f3b7afa68db3a0a72325a558..345dede34d42a6f867bdfd6ff624e30cdef335bd 100644 (file)
@@ -1902,6 +1902,7 @@ const MessageTray = new Lang.Class({
 
         this.actor.add_actor(this._banner.actor);
 
+        this.actor._opacity = 0;
         this.actor.opacity = 0;
         this.actor.y = -this._banner.actor.height;
         this.actor.show();